package com.zhike.common.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 会话置顶
 */
@Data
public class SessionTopDTO {

    @ApiModelProperty(value = "会话ID")
    @NotNull(message = "缺少参数sessionId")
    private String sessionId;

    @ApiModelProperty(value = "会话置顶", notes = "1:置顶 0:取消置顶")
    @NotNull(message = "缺少参数action")
    private Integer action;
}
